//
//  YBAssetsDetailTabbar.h
//  Nectar
//
//  Created by famer on 2023/11/11.
//  Copyright © 2023 asance. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^AssetsDetailTabbarActionBlock)(NSString *button, NSInteger pageIndex);

@interface YBAssetsDetailTabbar : UIView
@property (nonatomic, strong) UIView *sliderView;

@property (nonatomic, strong) UIButton *allButton;
@property (nonatomic, strong) UIButton *outButton;
@property (nonatomic, strong) UIButton *inButton;
@property (nonatomic, strong) UIButton *failedButton;

@property(copy, nonatomic) AssetsDetailTabbarActionBlock actionBlock;

- (void)setCurrentIndex:(NSInteger)index;

- (NSInteger)getCurrentIndex;

@end

NS_ASSUME_NONNULL_END
